package pers.mihao.quickstream.start;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.web.bind.annotation.RestController;
import pers.mihao.quickstream.common.task.scheduler.annotation.EnableSchedulerTask;

/**
 * add java run --add-opens java.base/java.lang=ALL-UNNAMED
 * @author mihao
 * @since 2024/11/12
 */
@RestController()
@SpringBootApplication(scanBasePackages = "pers.mihao.quickstream")
@MapperScan("pers.mihao.quickstream.**.mapper")
@EnableSchedulerTask
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
